﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPFSYN.Model
{
    public class JsonData
    {
        public string NodeName { get; set; } //节点名称
        public string NodeDesc { get; set; } 
        public string TimeType { get; set; }
        public int TimeIntervalBetween { get; set; }    //间隔时间
        public DateTime StartTime { get; set; }    //结束时间
        public DateTime EndTime { get; set; }
        public string FullName { get; set; } //节点名称
        public string Status { get; set; }
        public string SynType { get; set; }

        WebApi webapi = new WebApi();
        public WebApi WebApi
        {
            get { return webapi; }
            set { webapi = value; }
        }
    }
    public class WebApi
    {
        public string Url { get; set; }
        public string Method { get; set; }
        public string ContentType { get; set; }

        List<Parameters> paramelist = new List<Parameters>();
        public List<Parameters> Parameter
        {
            get { return paramelist; }
            set { paramelist = value; }
        }

        public class Parameters
        {
            public string Key { get; set; }
        }
    }
}
